package com.wxg.junit.appendix.B;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

import com.wxg.junit.appendix.B.InterceptorRunner.InterceptorClasses;

/**
 * {@link Assert}
 *
 * @author Wxg
 */
@RunWith(InterceptorRunner.class)
@InterceptorClasses(SampleTimingInterceptor.class)
public class TestCustomRunnerWithTimingInterceptor {

    @Before
    public void longSetUp() throws InterruptedException {
        Thread.sleep(1000);
    }

    @Test
    public void testDummy() throws InterruptedException {
        Thread.sleep(2000);
        assertTrue(true);
    }

    @After
    public void longTearDown() throws InterruptedException {
        Thread.sleep(1000);
    }
}
